package com.lnsf.service;

import java.util.List;


import com.lnsf.entity.Employee;


public interface EmpService {
	

	public List<Employee> getAllEmployee();
	
	public Employee getEmployeeById(int empno);
	
	public int addEmployee(Employee emp);
	
	public int updateEmployee(Employee emp);
	
	public int deleteEmployee(int empno);
	
	/*
	 * 为了避免同时间提交
	 * 建议使用数据库的存储过程
	 */
	public int getCurrentEmpNo();

}
